let url = {}
const REACT_APP_ENV = process.env.REACT_APP_ENV
if(REACT_APP_ENV==="production"){
  //生产环境
  url = {
    chatUrl: '/chatUrl/gptApi/api/v1/connectWisdom',
    guoXinUrl:"/chatUrl",
    lianTongUrl: '/lianTongUrl',
    userUrl:"/userUrl/jeecg-boot/sys",
    lianTongUpLoadUrl: '/lianTongUpLoadUrl',
    lianTongUpLoadUrlFile: '/lianTongUpLoadUrlFile'
  }
}else if(REACT_APP_ENV==="test"){
  //南京院本地环境
  url = {
    chatUrl: 'http://10.242.31.70:9599/gptApi/api/v1/connectWisdom',
    guoXinUrl:"http://10.242.31.70:9599",
    lianTongUrl: 'http://localhost:8082',
    userUrl:"http://10.242.31.70:8092/jeecg-boot/sys",
    lianTongUpLoadUrl: 'http://10.242.31.70:8861',
    lianTongUpLoadUrlFile: 'http://127.0.0.1:8861'
  }
}else {
  //开发环境,本地
  url = {
    chatUrl: '/chatUrl/gptApi/api/v1/connectWisdom',
    guoXinUrl:"/chatUrl",
    lianTongUrl: '/lianTongUrl',
    userUrl:"/userUrl/jeecg-boot/sys",
    lianTongUpLoadUrl: '/lianTongUpLoadUrl',
    lianTongUpLoadUrlFile: '/lianTongUpLoadUrlFile'
  }
}

export const gptChatUrl = url;
